    /********************************************************/
    /*                                                      */
    /*                                                      */
    /*         Copyright (C), 1993  SEIKO EPSON Corp.       */
    /*         ALL RIGHTS RESERVED                          */
    /*                                                      */
    /*                                                      */
    /*  file name : feof.c                                  */
    /*                                                      */
    /*  Revision history                                    */
    /*      93/12/17    first release       S.Akaiwa        */
    /*      97/3/17	modified	    T.Katahira	    */
    /*			change function declaration	    */
    /*					to the ANSI style   */
    /*                                                      */
    /********************************************************/

#ifdef      UNIX
#include    "stdio.h"
#include    "smcvals.h"
#else
#include    <stdio.h>
#include    <smcvals.h>
#endif

int
feof(FILE * fiStrmP)

    /********************************************************/
    /*                                                      */
    /*  This is dummy function.                             */
    /*  If stdin, stdout or stderr is specified by fiStrmP, */
    /*  the feof function returns 0. Otherwise, this        */
    /*  function returns EOF.                               */
    /*                                                      */
    /*      RETURN  0           ... Not end of file         */
    /*              EOF         ... End of file generated   */
    /*                                                      */
    /*  <ANSI>                                              */
    /*      The feof function tests end of file status in   */
    /*      stream.                                         */
    /*                                                      */
    /*      RETURN  0           ... Not end of file         */
    /*              Others      ... End of file generated   */
    /*                                                      */
    /********************************************************/

    /* FILE    *fiStrmP    ;       pointer to target stream */
    {

     if(_ISSTDIO(fiStrmP)){                 /* check stream */
        return  (int)0;                  /* not end of file */
     }
     else {                                        /* other */
        return  (int)EOF;          /* end of file generated */
     }
    }

